<style>
/* 确保预览图片容器根据图片大小自动调整高度 */
.plupload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    overflow: visible;
    position: relative;
    min-height: 0;
    height: auto !important;
}

/* 图片自动调整尺寸 */
.plupload-preview img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: none !important;
    object-fit: contain;
    display: block;
}

/* 重写plupload默认样式 */
.plupload-preview .plupload-file {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 0;
    height: auto !important;
}

.plupload-preview .plupload-file img {
    width: auto;
    height: auto !important;
    max-height: none !important;
}

/* 确保链接容器高度自动调整 */
.plupload-preview a {
    display: block;
    height: auto !important;
    min-height: 0 !important;
}

.plupload-preview a:first-child {
    height: auto !important;
    min-height: 0 !important;
}

/* 轮播图容器样式 */
#slider-images-container .form-group {
    margin-left: 30px;
    margin-right: 30px;
}

#slider-images-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.slider-image-group .panel {
    margin-bottom: 2px;
}

/* 针对不同图片尺寸的响应式处理 */
.plupload-preview {
    flex-direction: column;
    align-items: flex-start;
}

/* 确保缩略图容器也能自动调整 */
.plupload-preview .thumbnail {
    margin-bottom: 10px;
    height: auto !important;
    padding: 0;
}

.plupload-preview .thumbnail img {
    height: auto !important;
    width: auto !important;
    max-width: 100%;
}
</style>
<form id="edit-form" class="form-horizontal" style="position:relative;background: #fff" role="form"
      data-toggle="validator" method="POST" action="">
    <div class="panel">
        <ul class="nav nav-tabs">
            <li class="active"><a href="#tabs_0" data-toggle="tab" aria-expanded="true">班级信息</a></li>
            <li><a href="#tabs_1" data-toggle="tab" aria-expanded="true">人员设置</a></li>
            <li><a href="#tabs_5" data-toggle="tab" aria-expanded="true">项目参数</a></li>
            <li><a href="#tabs_6" data-toggle="tab" aria-expanded="true">指定教室</a></li>
            <li><a href="#tabs_2" data-toggle="tab" aria-expanded="true">开关设置</a></li>
            <li><a href="#tabs_3" data-toggle="tab" aria-expanded="true">学员管理</a></li>
            <li><a href="#tabs_4" data-toggle="tab" aria-expanded="true">轮播图设置</a></li>
            
        </ul>
    </div>
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="tabs_0">

                <input type="hidden" id="row" name="data" value="{$row_json}"/>
                <input type="hidden" id="c-id" name="row[id]" value="{$row.id}"/>
                <input type="hidden" id="classes_type" name="row[classes_type]" value="{$classes_type}"/>
                <input type="hidden" id="c-ocation_id" name="row[ocation_id]" value='{$row.ocation_id}'/>
                {if $admin['group_id']==3}
                <input type="hidden" id="h-rel_type" name="row[rel_type]" value="1">
                <input type="hidden" id="h-rel_id" name="row[rel_id]" value="{$admin['school_id']}">

                {elseif $admin['group_id']==8}
                <input type="hidden" id="h-rel_type" name="row[rel_type]" value="2">
                <input type="hidden" id="h-rel_id" name="row[rel_id]" value="{$admin['community_id']}">
                <input type="hidden" id="c-nianji" name="row[nianji]" value="{$row.nianji}">
                <input type="hidden" id="c-xueqi" name="row[xueqi]" value="{$row.xueqi}">
                <input type="hidden" id="c-qishu" name="row[qishu]" value="{$row.qishu}">
                {else}
                <div class="form-group">
                    <label for="c-rel_type" class="control-label col-xs-12 col-sm-2">主体类型:</label>
                    <div class="col-xs-12 col-sm-8" id="div-rel_type">
                        <select name="row[rel_type]" id="c-rel_type" class="form-control selectpicker" data-rule=""
                                data-tip="主体类型">
                            <option value="1">学校</option>
                            <option value="2">社区</option>
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-rel_id" class="control-label col-xs-12 col-sm-2">主体:</label>
                    <div class="col-xs-12 col-sm-8" id="div-rel_id">
                        <select name="row[rel_id]" id="c-rel_id" class="form-control" data-tip="主体">
                        </select>
                    </div>
                </div>
                {/if}

                <div class="form-group">
                    <label for="c-classes_type" class="control-label col-xs-12 col-sm-2">班级类型:</label>
                    <div class="col-xs-12 col-sm-8" id="div-classes_type">
                        <select name="row[classes_type]" id="c-classes_type" class="form-control">
                        </select>
                    </div>
                </div>

                <div class="form-group">
                    <label for="c-nianji" class="control-label col-xs-12 col-sm-2">年级:</label>
                    <div class="col-xs-12 col-sm-8" id="div-nianji">
                        <input type="text" id="c-nianji" name="row[nianji]" value="{$row.nianji}" class="form-control"
                               title="name" placeholder="" data-rule="" data-tip="年级"/>
                    </div>
                </div>
                
                {if $admin['group_id']!=8}
                <div class="form-group">
                    <label for="c-addresslv_id_tree" class="control-label col-xs-12 col-sm-2">学院:</label>
                    <div class="col-xs-12 col-sm-8" id="div-school_id">
                        <select name="row[addresslv_id_tree]" id="c-addresslv_id_tree" class="form-control">
                        </select>
                    </div>
                </div>
                {/if}{if $admin['group_id']==8}
                <div class="form-group">
                    <label for="c-community_id" class="control-label col-xs-12 col-sm-2">学校:</label>
                    <div class="col-xs-12 col-sm-8" id="div-community_id">
                        <select name="row[community_id]" id="c-community_id" class="form-control">
                        </select>
                    </div>
                </div>
                {/if}
                
                <div class="form-group">
                    <label for="c-xueqi" class="control-label col-xs-12 col-sm-2">学期:</label>
                    <div class="col-xs-12 col-sm-8" id="div-xueqi">
                        <select id="c-xueqi" name="row[xueqi]" class="form-control" data-tip="学期">
                            <option value="春季" {if $row["xueqi"] == "春季"}selected{/if}>春季</option>
                            <option value="秋季" {if $row["xueqi"] == "秋季"}selected{/if}>秋季</option>
                        </select>
                    </div>
                </div>
                
                <div class="form-group" {if $row["addresslv_id"] == 2}style="display:none"{/if}>
                    <label for="c-qishu" class="control-label col-xs-12 col-sm-2">期数:</label>
                    <div class="col-xs-12 col-sm-8" id="div-qishu">
                        <input type="text" id="c-qishu" name="row[qishu]" value="{$row.qishu}" class="form-control"
                               title="qishu" placeholder="" data-rule="" data-tip="期数"/>
                    </div>
                </div>
                
                {if $admin['group_id']!=8}
                <div class="form-group">
                    <label for="c-subject_lv" class="control-label col-xs-12 col-sm-2">课程类别:</label>
                    <div class="col-xs-12 col-sm-8" id="div-subject_lv">
                        <select id="c-subject_lv" name="row[subject_lv]" value="{$row.subject_lv}" class="form-control"
                                title="kcmc" placeholder="" data-rule="" data-tip="课程名称"></select>
                    </div>
                </div>
                {/if}{if $admin['group_id']==8}
            <div class="form-group" id="div-class_type_css">
                <label for="c-class_type" class="control-label col-xs-12 col-sm-2">课程类型:</label>
                <div class="col-xs-12 col-sm-8" id="div-class_type">
                    <select name="row[class_type]" id="c-class_type" class="form-control" data-rule=""
                            multiple></select>
                </div>
            </div>
            {/if}

            <div class="form-group">
                <label for="c-name" class="control-label col-xs-12 col-sm-2">班级名称:</label>
                <div class="col-xs-12 col-sm-8" id="div-name">
                    <input type="text" id="c-name" name="row[name]" value="{$row.name}" class="form-control"
                           title="name" placeholder="" data-rule="" data-tip="班级名称"/>
                </div>
            </div>

            <div class="form-group">
                <label for="c-cover" class="control-label col-xs-12 col-sm-2">班级封面:</label>
                <div class="col-xs-12 col-sm-8" id="div-cover">
                    <div class="form-inline">
                        <input id="c-cover" class="form-control" size="38" name="row[cover]" type="text"
                               value="{$row.cover}" data-tip="">
                        <span><button type="button" id="plupload-cover" class="btn btn-danger plupload"
                                      data-input-id="c-cover" data-mimetype="image/*" data-multiple="false"
                                      data-preview-id="p-cover"><i
                                class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" id="ai-generate-cover" class="btn btn-success ai-generate-image" data-type="ai-generate-cover"
                                      data-input-id="c-cover"  data-width="1024" data-height="1024" data-say="为这个班级生成一张有创意的封面图片，风格现代简洁，色彩温暖"><i
                                class="fa fa-magic"></i> AI自动</button></span>
                        <span class="text-muted">建议尺寸：1024*1024</span>
                        <ul class="row list-inline plupload-preview" id="p-cover"  style="min-height:252px!important"></ul>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <label for="c-header_image" class="control-label col-xs-12 col-sm-2">班级头图:</label>
                <div class="col-xs-12 col-sm-8" id="div-header_image">
                    <div class="form-inline">
                        <input id="c-header_image" class="form-control" size="38" name="row[header_image]" type="text"
                               value="{$row.header_image}" data-tip="">
                        <span><button type="button" id="plupload-header_image" class="btn btn-danger plupload"
                                      data-input-id="c-header_image" data-mimetype="image/*" data-multiple="false"
                                      data-preview-id="p-header_image"><i
                                class="fa fa-upload"></i> {:__('Upload')}</button></span>
                        <span><button type="button" class="btn btn-success ai-generate-image" data-type="ai-generate-header_image" data-width="460" data-height="230"
                                      data-input-id="c-header_image" data-say="为这个班级生成一张有创意的头图，风格现代简洁，色彩温暖"><i
                                class="fa fa-magic"></i> AI自动</button></span>
                        <span class="text-muted">建议尺寸：460*230</span>
                        <ul class="row list-inline plupload-preview" id="p-header_image" style="min-height:176px!important"></ul>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <label for="c-intro" class="control-label col-xs-12 col-sm-2">班级介绍:</label>
                <div class="col-xs-12 col-sm-8" id="div-intro">
                    <div style="margin-bottom: 10px;">
                        <button type="button" class="btn btn-info btn-sm ai-generate-intro" data-type="class_intro" data-input-id="c-intro">
                            <i class="fa fa-magic"></i> AI智能生成班级介绍
                        </button>
                    </div>
                    <textarea name="row[intro]" id="c-intro" class="form-control editor" data-rule="" rows="5"
                              data-tip="班级介绍">{$row.intro}</textarea>
                </div>
            </div>

            <div class="form-group">
                <label for="c-class_info" class="control-label col-xs-12 col-sm-2">课程介绍:</label>
                <div class="col-xs-12 col-sm-8" id="div-class_info">
                    <div style="margin-bottom: 10px;">
                        <button type="button" class="btn btn-success btn-sm ai-generate-intro" data-type="course_intro" data-input-id="c-class_info">
                            <i class="fa fa-magic"></i> AI智能生成课程介绍
                        </button>
                    </div>
                    <textarea name="row[class_info]" id="c-class_info" class="form-control editor" data-rule="" rows="5"
                              data-tip="课程介绍">{$row.class_info}</textarea>
                </div>
            </div>
                
                
                
            <div class="form-group">
                <label for="c-num" class="control-label col-xs-12 col-sm-2">学费:</label>
                <div class="col-xs-12 col-sm-8" id="div-price">
                    <input type="number" id="c-price" name="row[price]" value="{$row.price}" class="form-control" title="price"
                           data-rule="number" step="0.01" placeholder="请输入金额，支持两位小数" data-tip="学费金额"/>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tabs_1">
            <div id="app">
                <div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">班长:</label>
                    <div class="col-xs-12 col-sm-8" id="div-student_id">
                        <leader_box :type="''" :left-options="leftOptions" :right-options="rightOptions"></leader_box>
                    </div>
                </div>

                <!--div class="form-group">
                    <label class="control-label col-xs-12 col-sm-2">管理员:</label>
                    <div class="col-xs-12 col-sm-8" id="div-adminid" >
                        <manager-box :type="'single'" :left-options="leftOptions" :right-options="rightOptions"></manager-box>
                    </div>
                </div-->
            </div>
            <div class="form-group" style="display: none">
                <label for="c-manage_creator_id" class="control-label col-xs-12 col-sm-2">管理岗创建者:</label>
                <div class="col-xs-12 col-sm-8" id="div-manage_creator_id">
                    <input type="number" id="c-manage_creator_id" name="row[manage_creator_id]" value="0"
                           class="form-control" title="manage_creator_id" data-rule="integer"
                           placeholder="只能填入整数" data-tip="管理岗创建者"/>
                </div>
            </div>

            <div class="form-group">
                <label for="c-num" class="control-label col-xs-12 col-sm-2">班级人数:</label>
                <div class="col-xs-12 col-sm-8" id="div-num">
                    <input type="number" id="c-num" name="row[num]" value="50" class="form-control" title="num"
                           data-rule="integer" placeholder="只能填入整数" data-tip="班级人数"/>
                </div>
            </div>


        </div>
        <div class="tab-pane fade" id="tabs_2">

            <div class="form-group">
                <label for="c-is_apply_to_join" class="control-label col-xs-12 col-sm-2">是否开放申请加入:</label>
                <div class="col-xs-12 col-sm-8" id="div-is_apply_to_join">
                    <!-- 修改为开关组件22 -->
                    <input id="c-is_apply_to_join" name="row[is_apply_to_join]" type="hidden" value="{$row['is_apply_to_join']}">
                    <a href="javascript:;" data-toggle="switcher" class="btn-switcher {if $row.is_apply_to_join=='1'}active{else}text-gray{/if}" data-input-id="c-is_apply_to_join" data-yes="1" data-no="0">
                        <i class="fa fa-toggle-on fa-2x {if $row['is_apply_to_join']!='1'}fa-flip-horizontal{/if}"></i>
                    </a>
                    <div data-favisible="switch=1" class="p-3">是</div>
                    <div data-favisible="switch=0" class="p-3">否</div>
                </div>
            </div>

            <div class="form-group" style="display: none">
                <label for="c-creator_id" class="control-label col-xs-12 col-sm-2">创建者:</label>
                <div class="col-xs-12 col-sm-8" id="div-creator_id">
                    <input type="number" id="c-creator_id" name="row[creator_id]" value="0" class="form-control"
                           title="creator_id" data-rule="integer" placeholder="只能填入整数" data-tip="创建者"/>
                </div>
            </div>

            <div class="form-group">
                <label for="c-show_in_team" class="control-label col-xs-12 col-sm-2">是否在班级团队列表中显示:</label>
                <div class="col-xs-12 col-sm-8" id="div-show_in_team">
                    <input id="c-show_in_team" name="row[show_in_team]" type="hidden" value="{$row['show_in_team']}">
                    <a href="javascript:;" data-toggle="switcher" class="btn-switcher {if $row.show_in_team=='1'}active{else}text-gray{/if}" data-input-id="c-show_in_team" data-yes="1" data-no="0">
                        <i class="fa fa-toggle-on  fa-2x {if $row.show_in_team!='1'}fa-flip-horizontal{/if}"></i>
                    </a>
                    <div data-favisible="switch=1" class="p-3">是</div>
                    <div data-favisible="switch=2" class="p-3">否</div>
                </div>
            </div>

            <div class="form-group">
                <label for="c-is_check" class="control-label col-xs-12 col-sm-2">加入班级是否需要审核:</label>
                <div class="col-xs-12 col-sm-8" id="div-is_check">
                    <input id="c-is_check" name="row[is_check]" type="hidden" value="{$row['is_check']}">
                    <a href="javascript:;" data-toggle="switcher" class="btn-switcher {if $row.is_check}active{else}text-gray{/if}" data-input-id="c-is_check" data-yes="1" data-no="0">
                        <i class="fa fa-toggle-on  fa-2x {if $row.is_check!='1'}fa-flip-horizontal{/if}"></i>
                    </a>
                    <div data-favisible="switch=1" class="p-3">是</div>
                    <div data-favisible="switch=2" class="p-3">否</div>
                </div>
            </div>

            <div class="form-group">
                <label for="c-allow_see" class="control-label col-xs-12 col-sm-2">允许查看班级属性:</label>
                <div class="col-xs-12 col-sm-8" id="div-allow_see">
                    <input id="c-allow_see" name="row[allow_see]" type="hidden" value="{$row['allow_see']}">
                    <a href="javascript:;" data-toggle="switcher" class='btn-switcher {if $row.allow_see=="1"}active{else}text-gray{/if}' data-input-id="c-allow_see" data-yes="1" data-no="0" >
                        <i class="fa fa-toggle-on fa-2x {if $row.allow_see!='1'}fa-flip-horizontal{/if}"></i>
                    </a>
                    <div data-favisible="switch=1" class="p-3">允许</div>
                    <div data-favisible="switch=2" class="p-3">不允许</div>
                </div>
            </div>

            <div class="form-group">
                <label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
                <div class="col-xs-12 col-sm-8" id="div-status">
                    <input id="c-status" name="row[status]" type="hidden" value="{$row.status}">
                    <a href="javascript:;" data-toggle="switcher" class="btn-switcher {if $row.status=='1'}active{else}text-gray{/if}" data-input-id="c-status" data-yes="1" data-no="0">
                        <i class="fa fa-toggle-on fa-2x {if $row.status!='1'}fa-flip-horizontal{/if}"></i>
                    </a>
                    <div data-favisible="switch=1" class="p-3">已开户</div>
                    <div data-favisible="switch=2" class="p-3">不允许</div>
                </div>
            </div>


            <input type="hidden" id="province" id="c-cityarea_id" name="row[province_id]"
                   value="{$row.province_id}">
            <input type="hidden" id="c-city_id" name="row[city_id]" value="{$row.city_id}">
            <input type="hidden" id="c-district_id" name="row[district_id]" value="{$row.district_id}">

            <div class="form-group" style="display: none">
                <label class="control-label col-xs-12 col-sm-2">创建者账号类型:</label>
                <div class="col-xs-12 col-sm-8" id="div-creator_type">
                    <label for="row[creator_type]-1"><input id="row[creator_type]-1" name="row[creator_type]"
                                                            type="radio" value="1" {if $row["creator_type"]=="1"}checked{/if}
                        /> 老师或管理员</label>

                    <label for="row[creator_type]-2"><input id="row[creator_type]-2" name="row[creator_type]"
                                                            type="radio" value="2" {if $row["creator_type"]=="2"}checked{/if}
                        /> 组织账号</label>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tabs_3">
            <div id="student-manager-content">
                <div class="text-center" style="padding: 50px;">
                    <i class="fa fa-spinner fa-spin fa-2x"></i>
                    <p style="margin-top: 10px;">正在加载学员管理...</p>
                </div>
            </div>
        </div>
        <div class="tab-pane fade" id="tabs_4">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h4 class="panel-title">
                        <i class="fa fa-images"></i> 轮播图设置
                        <small class="text-muted">（班级首页轮播图管理）</small>
                    </h4>
                </div>
                <div class="panel-body">
                    <!-- 轮播图管理按钮 -->
                    <div class="row" style="margin-bottom: 20px;">
                        <div class="col-md-12">
                            <button type="button" class="btn btn-primary btn-lg" id="manage-class-slider-btn">
                                <i class="fa fa-image"></i> 管理班级轮播图
                            </button>
                            <div class="help-block">点击按钮管理当前班级的首页轮播图</div>
                        </div>
                    </div>
                    
                    <!-- 轮播图设置说明 -->
                    <div class="alert alert-info">
                        <h5><i class="fa fa-info-circle"></i> 轮播图设置说明</h5>
                        <ul>
                            <li>最多支持5张轮播图片</li>
                            <li>推荐图片尺寸：750x422 像素</li>
                            <li>支持图片格式：JPG、PNG、GIF</li>
                            <li>可以为每张图片设置标题和链接</li>
                            <li>轮播图将在班级首页显示</li>
                        </ul>
                    </div>
                    
                    <!-- 轮播图预览区域 -->
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h5 class="panel-title">
                                <i class="fa fa-eye"></i> 轮播图预览
                            </h5>
                        </div>
                        <div class="panel-body">
                            <div id="carousel-preview-container">
                                <div class="text-center" style="padding: 40px; color: #999;">
                                    <i class="fa fa-picture-o fa-3x"></i>
                                    <p style="margin-top: 15px;">暂无轮播图，请点击上方按钮进行设置</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="tab-pane" id="tabs_5">

                    <iframe id="coursetable-iframe"
                            src="" 
                            style="width: 100%; height: 600px; border: none; display: none;"
                            onload="this.style.height = '1700px';"
                            frameborder="0"
                            scrolling="no">
                    </iframe>
                    <div id="iframe-loading" class="text-center" style="padding: 50px;">
                        <i class="fa fa-spinner fa-spin fa-2x"></i>
                        <p style="margin-top: 15px;">正在加载课程表管理...</p>
                    </div>
                </div>

        <div class="tab-pane" id="tabs_6">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title">
                                <i class="fa fa-map-marker"></i> 指定教室管理
                                <small class="text-muted">（为班级指定固定的上课教室和时间）</small>
                            </h4>
                        </div>
                        <div class="panel-body">
                            <!-- 默认显示的提示信息和按钮 -->
                            <div id="classroomeplan-default" class="text-center" style="padding: 40px;">
                                <div class="alert alert-info" style="margin-bottom: 30px;">
                                    <h4><i class="fa fa-info-circle"></i> 指定教室说明</h4>
                                    <p>通过指定教室功能，您可以为班级设置固定的上课教室和时间安排。</p>
                                    <ul class="text-left" style="margin-top: 15px;">
                                        <li>可以指定班级在特定的星期几上课</li>
                                        <li>可以指定班级在特定的时间段上课</li>
                                        <li>可以指定班级使用特定的教室</li>
                                        <li>设置后将在自动排课时优先考虑这些约束条件</li>
                                    </ul>
                                </div>
                                
                                <div id="classroomeplan-status">
                                    <div class="alert alert-warning">
                                        <i class="fa fa-exclamation-triangle"></i> 
                                        <strong>当前没有指定教室</strong>
                                        <p style="margin-top: 10px;">该班级尚未设置指定教室和时间安排。</p>
                                    </div>
                                </div>
                                
                                <button type="button" class="btn btn-primary btn-lg" id="manage-classroomeplan-btn">
                                    <i class="fa fa-plus"></i> 管理指定教室
                                </button>
                                <div class="help-block" style="margin-top: 15px;">
                                    点击按钮开始为班级设置指定教室和时间安排
                                </div>
                            </div>
                            
                            <!-- iframe容器（初始隐藏） -->
                            <div id="classroomeplan-iframe-container" style="display: none;">
                                <iframe id="classroomeplan-iframe"
                                        src="" 
                                        style="width: 100%; height: 600px; border: none;"
                                        onload="this.style.height = '1700px';"
                                        frameborder="0"
                                        scrolling="no">
                                </iframe>
                                <div class="text-center" style="margin-top: 15px;">
                                    <button type="button" class="btn btn-default" id="back-to-classroomeplan-default">
                                        <i class="fa fa-arrow-left"></i> 返回
                                    </button>
                                </div>
                            </div>
                            
                            <!-- 加载提示（初始隐藏） -->
                            <div id="classroomeplan-loading" class="text-center" style="padding: 50px; display: none;">
                                <i class="fa fa-spinner fa-spin fa-2x"></i>
                                <p style="margin-top: 15px;">正在加载指定教室管理...</p>
                            </div>
                        </div>
                    </div>
                </div>


    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>




